function doGen(){
    if(confirm("确定要执行吗？")){
        var paras={
            "tabName":document.getElementById("tabName").value,
            "pkgName":document.getElementById("pkgName").value,
            "charset":document.getElementById("charset").value
        };
        $.ajax({
            url:top.tophead.ctxpath+"/sample/CodeCtrl!table2Java.do",
            type:"post",
            dataType:"json",
            data:paras,
            success:function(result){
                alert(result.columnName+" , "+result.comments);
            }});
    }
}
